package wangjg.mda.context;

import java.io.File;
import java.util.HashMap;

import wangjg.mda.model.obj.Model;

/**
 * 
 * @author wangjg
 *
 */
public class ModelContextImpl implements ModelContext {

	private final HashMap<String,Object> beanMap = new HashMap<String,Object>();

	@Override
	public Model findModel(String name){
		return (Model) beanMap.get(name);
	}
	
	public void addModel(String name, Model model){
		beanMap.put(name, model);
	}

	public Model loadModel(File file) {
		return null;
	}

	public void setCharset(String charset) {
		
	}
}
